package chapter01.d06;

public class ThreadTest {
	public static void main(String[] args) throws InterruptedException {
		//Thread t = new Thread(new RunTask());
		Thread t = new Thread(new ExceptionTask2());
		t.start();

		while (true) {
			Thread.sleep(3000);
			System.out.println("主线程：子线程状态为" + t.isAlive());
		}
	}
}
